<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control"  content="no-transform">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>产品详情</title>
    <link href="/statics/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="/statics/view/css/all.css" rel="stylesheet" type="text/css" />
</head>
<body>
[#include "/common/header.ftl" /]

<div class="container">
    <div class="row" style="margin-bottom: 80px;">
        <div class="orderStatus">
            <p class="bg-primary" style="padding: 15px;">订单号：${order.sn}&nbsp;&nbsp;&nbsp;&nbsp;
            [#if order.orderStatus == "cancelled"]
                状态：<span>已取消</span>
            [#elseif order.orderStatus == "completed"]
                状态：<span>已完成</span>
            [#elseif order.paymentStatus == "unpaid"]
                状态：<span>未支付</span>&nbsp;&nbsp;<a href="/member/order/payment?orderId=${order.id}" class="btn btn-default">马上支付</a>
            [#else]
            [/#if]
            </p>
            <p class="bg-info"  style="padding: 15px;">订单金额:${order.amount}元</p>
        </div>

        <p>保单详情</p>
        <ul class="list-group">
            <li class="list-group-item">
                产品名称
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.name}</span>
            </li>
            <li class="list-group-item">
                产品价格
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.price}</span>
            </li>
            <li class="list-group-item">
                被保人姓名
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cName}</span>
            </li>
            <li class="list-group-item">
                被保人性别
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cSex}</span>
            </li>
            <li class="list-group-item">
                被保人身份证
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cardNo}</span>
            </li>
            <li class="list-group-item">
                被保人出生日期
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cBirthDate}</span>
            </li>
            <li class="list-group-item">
                被保人联系方式
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cMobile}</span>
            </li>
            <li class="list-group-item">
                保单生效日期
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cBeginDate}</span>
            </li>
            <li class="list-group-item">
                保单编号
                <span style="float: right;margin-right: 20px;color: #999999;">${orderItem.cNo}</span>
            </li>
        </ul>
    </div>

</div>
<div class="container si-nav-tools">
    <div class="row">
        <div class="col-sm-3 col-xs-3 div-right">
            <a href="/" class="act">首页</a>
        </div>
    </div>
</div>
<script type="text/javascript" src="/statics/jquery/jquery.js"></script>
<script type="text/javascript" src="/statics/view/js/common.js"></script>
</body>
</html>